﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.TD
{
    /// <summary>
    /// 盘差存库明细记录表
    /// </summary>
    [Table("TD_CheckStockDetail")]
    public partial class TD_CheckStockDetail
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 盘点单Id
        /// </summary>
        public String CheckId { get; set; }

        /// <summary>
        /// 仓库Id
        /// </summary>
        public String StorId { get; set; }

        /// <summary>
        /// 货位Id
        /// </summary>
        public String LocalId { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 包Id
        /// </summary>
        public String PackId { get; set; }

        /// <summary>
        /// 成品Id
        /// </summary>
        public String JobId { get; set; }

        /// <summary>
        /// 是否新旧：0-旧；1-新
        /// </summary>
        public Int32? OldOrNew { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

    }
}